package com.rzx.mybackend.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * BuyMerchandise
 *
 * @author renzhexian
 * @date 2025/8/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("merchandise_buy")
public class BuyMerchandise {

    @TableId
    private Long id;
    private String orderCode;
    private Long userId;
    private int merchandise_num;
    private Long merchandiseId;
    private String address;
    private LocalDateTime buyTime;
    private BigDecimal buyPrice;
    private Integer orderStatus;
}
